﻿<UserControl x:Class="PushPinControl.PushPinToggle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"         
    mc:Ignorable="d"
    d:DesignHeight="20" d:DesignWidth="20" >

    <StackPanel x:Name="LayoutRoot" Background="White">
        <ToggleButton x:Name="PushPinToggleButton" Height="20" Width="20"  Checked="ToggleButton_Checked" Unchecked="ToggleButton_Unchecked" ToolTipService.ToolTip="Push Pin">
            <Image x:Name="PushPinImage" Source="/Images/pushpin.png" Height="14" Width="14" Stretch="Fill"></Image>
        </ToggleButton>
        
    </StackPanel>
</UserControl>
